package com.viphuli.app.tool.bean.part;

import java.util.List;

import com.google.gson.annotations.SerializedName;
import com.viphuli.app.tool.utils.OtherUtils;

/**
 * 排班记录信息
 * 
 * @author li.li
 *
 */
public class ArrangeRecord {
	
	@SerializedName("record_id")
	private int id;
	
	@SerializedName("name")
	private String name;
	
	@SerializedName("type")
	private int type;
	
	@SerializedName("desc")
	private String desc;
	
	@SerializedName("time")
	private long time;
	
	@SerializedName("arrange_info_list")
	private List<ArrangeInfo> arrangeInfoList;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name; 
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public long getTime() {
		return time;
	}
	public void setTime(long time) {
		this.time = time;
	}
	public List<ArrangeInfo> getArrangeInfoList() {
		return arrangeInfoList;
	}
	public void setArrangeInfoList(List<ArrangeInfo> arrangeInfoList) {
		this.arrangeInfoList = arrangeInfoList;
	}
	
	public long time(){
		
		return OtherUtils.getNeedTime(time);
	}
	
	

}
